import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import waimai from '@/vues/waimai'
import faxian from '@/vues/faxian'
import dingdan from '@/vues/dingdan'
import wode from '@/vues/wode'
import xq from '@/vues/xq'
import meishi from '@/vues/meishi'
import kaoshi from '@/vues/kaoshi'
Vue.use(Router)

export default new Router({
  routes: [{
      path: '/',
      // name: 'HelloWorld',
      component: kaoshi
    },

    {
      path: '/kaoshi',
      // name: 'HelloWorld',
      component: kaoshi
    },
    {
      path: '/waimai',
      // name: 'HelloWorld',
      component: waimai
    },
    {
      path: '/faxian',
      // name: 'HelloWorld',
      component: faxian
    },
    {
      path: '/dingdan',
      // name: 'HelloWorld',
      component: dingdan
    },
    {
      path: '/wode',
      // name: 'HelloWorld',
      component: wode
    },
    {
      path: '/xq',
      // name: 'HelloWorld',
      component: xq
    },
    {
      path: '/meishi',
      // name: 'HelloWorld',
      component: meishi
    }
  ]
})
